package StringClock;
/**
 * An analog clock -- Using Timer and Calendar..// Uses a BufferedImage and antialiasing.
 *
 * The second hand creep is from the Timer, which seems to take
 * a little longer than the requested time to call the listener.
 *  -- Fred Swartz, 1 May 1999, 2002-02-21 from applet to application
 */
import java.awt.*;
import javax.swing.*;

public class ClockAnalogBuf extends JFrame {

	private static final long serialVersionUID = 1L;
	Clock clockFace;

	/**
	 * Constructor
	 */
	public ClockAnalogBuf() {
		Container content = this.getContentPane();
		content.setLayout(new BorderLayout());
		clockFace = new Clock(300,300);
		content.add(clockFace, BorderLayout.CENTER);

		this.setTitle("Analog Clock");
		this.pack();

//		clockFace.start();
	}
}